package org.keyroy.util.tag;

public abstract class XmlObject implements XmlSupport {

	@Override
	public String getTagName() {
		return getClass().getSimpleName();
	}

	public final XmlObject getCopy() {
		Tag tag = new Tag(this);
		tag.toObject(getClass());
		return (XmlObject) tag.toObject(getClass());
	}
}
